package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 马迎迎
 * @Title: ThreadPoolConfigProperties
 * @Package com.atguigu.gulimall.product.config
 * @Description: TODO(添加描述)
 * @date 2021年05月25日 15:55
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer corePoolSize;
    private Integer maxPoolSize;
    private Integer keepAliveTime;
}
